package cn.codergege.demo.dao

import cn.codergege.demo.entity.Person
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.querydsl.QuerydslPredicateExecutor

interface PersonRepository: JpaRepository<Person, Int>
    , QuerydslPredicateExecutor<Person> {
    fun findByName(name: String): List<Person>?
}
